package com.example.demo.dao;
import com.example.demo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Date:2021/6/29 10:59
 * @Author:郑伟
 * @Version:1.1.0
 */
public interface UserDao extends JpaRepository<User,Integer> {
    List<User> findByUsernameAndPassword(String username, String password);
}
